//
//  ZPBrandDetailVC.h
//  ZhenPin
//
//  Created by zp_liufei on 14-6-9.
//  Copyright (c) 2014年 zhenpin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JSBadgeView.h"
#import "CountDownView.h"
#import "MBProgressHUD.h"
#import "CycleScrollView_Zooming.h"

@interface ZPBrandDetailVC : UIViewController <UITableViewDataSource,UITableViewDelegate,UIGestureRecognizerDelegate,CycleScrollView_ZoomingDelegate,UIAlertViewDelegate> {

    JSBadgeView *numOfPackView;
    int numOfProduct;
    NSString *productSpecid;
    NSMutableDictionary *productDetailDict;
    NSMutableDictionary *productActivityDict;
    NSMutableArray *attriDataArray;
    MBProgressHUD *otherHud;
    MBProgressHUD *detailHud;
    MBProgressHUD *webHud;
    int productQuantity;
    int productContentNum;
    UILabel *addNumberLabel;
    MBProgressHUD *addtoCollectionHud;
    
    UILabel *_brandPriceLabel;
    UILabel *_brandDiscountLabel;
    UILabel *_brandNameLabel;
    CountDownView *_countDownTimeView;
}
@property (nonatomic,retain) NSString *productId;
@property (nonatomic,retain) NSString *listId;
@property (nonatomic,assign) BOOL isPhoneExclusive;
@property (nonatomic,retain) NSString *phoneExclesivePrice;
@property (weak, nonatomic) IBOutlet UITableView *detailTableView;

@property (weak, nonatomic) IBOutlet CycleScrollView_Zooming *brandImageScrollView;

@property (weak, nonatomic) IBOutlet UIPageControl *brandShowPageControl;

@property (weak, nonatomic) IBOutlet UILabel *brandInfoLabel;
//@property (weak, nonatomic) IBOutlet UILabel *brandNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *brandDiscountInfoLabel;
@property (weak, nonatomic) IBOutlet UILabel *brandSizeLabel;
@property (weak, nonatomic) IBOutlet UILabel *brandColorLabel;

//@property (weak, nonatomic) IBOutlet CountDownView *countDownTimeView;

@property (weak, nonatomic) IBOutlet UIImageView *brandSelectSizeImageView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *brandSelectSizeConstraint;
@property (weak, nonatomic) IBOutlet UIView *brandSelectItemSuperView;
//@property (weak, nonatomic) IBOutlet UILabel *brandPriceLabel;
//@property (weak, nonatomic) IBOutlet UILabel *brandDiscountLabel;

@property (weak, nonatomic) IBOutlet UIView *brandSelectItemView;

@property (weak, nonatomic) IBOutlet UIView *tableHeaderView;

@property (weak, nonatomic) IBOutlet UIView *brandInfoView;

@property (weak, nonatomic) IBOutlet UILabel *lineView1;
@property (weak, nonatomic) IBOutlet UILabel *lineView2;
@property (weak, nonatomic) IBOutlet UILabel *lineView3;
@property (weak, nonatomic) IBOutlet UIView *lineView4;


@property (weak, nonatomic) IBOutlet UIView *bottomView;
@property (weak, nonatomic) IBOutlet UIButton *addPacketBtn;
@property (weak, nonatomic) IBOutlet UIButton *toPackBtn;
//@property (weak, nonatomic) IBOutlet UIButton *collectionBtn;
//@property (weak, nonatomic) IBOutlet UIButton *shareBtn;

//- (IBAction)shareBrandClicked:(UIButton *)sender;
//- (IBAction)collectBrandClicked:(UIButton *)sender;
//- (IBAction)buyNowClicked:(UIButton *)sender;
- (IBAction)addToShopPacket:(UIButton *)sender;
- (IBAction)clickedToShopPack:(UIButton *)sender;

- (IBAction)customReferClicked:(UIButton *)sender;

- (IBAction)sizeAndColorSelect:(UIButton *)sender;

@end
